package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@Controller
public class LoginController {

    @RequestMapping("/loginIndex")
    public String login(Map<String,String> result){
        result.put("name","wangbin");
        return "login";
    }
}
